package io.renren.service;

import io.renren.common.service.CrudService;
import io.renren.dto.AcceptCouponsDto;
import io.renren.dto.CouponsDto;
import io.renren.dto.MakecardvouchersdDTO;
import io.renren.dto.SendCouponsDto;
import io.renren.entity.MakecardvouchersdEntity;

import java.util.List;
import java.util.Map;

/**
 * ${comments}
 *
 * @author Sen 524227263@qq.com
 * @since 1.0.0 2024-05-30
 */
public interface MakecardvouchersdService extends CrudService<MakecardvouchersdEntity, MakecardvouchersdDTO> {

    List<List<Map<String, Object>>> couponsList(String traderMOID, CouponsDto dto);

    Map<String, Object> sendCoupons(String traderMOID, SendCouponsDto dto);

    Map<String, Object> acceptCoupons(String traderMOID, AcceptCouponsDto dto);

    void refuseCoupon(String makeCardVouchersDOID);
}